package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 产品
 *
 * @author Yancy
 * @since 2024-03-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("scene")
@ApiModel(value = "Scene对象", description = "场景")
public class Scene extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("场景名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("场景描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("文件ID")
    @TableField("file_id")
    private Long fileId;

    @ApiModelProperty("封面")
    @TableField("cover")
    private Long cover;

    @ApiModelProperty("灯光文件ID")
    @TableField("light")
    private Long light;

    @ApiModelProperty("企业ID")
    @TableField("company_id")
    private Long companyId;

    @ApiModelProperty("备注")
    @TableField("note")
    private String note;


    public static final String NAME = "name";

    public static final String DESCRIPTION = "description";

    public static final String FILE_ID = "file_id";

    public static final String COMPANY_ID = "company_id";

    public static final String NOTE = "note";

}
